#!/bin/bash

for file in ui/*.ui; do
    pyuic4 $file -o "$(echo ${file} | sed -e 's/ui\/\(.*\).ui/ui\/ui_\1.py/')"
done